#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include"queue.h"
#include"stack.h"
using namespace std;

void stack_test()
{
	fertilizer::stack<int> st;
	st.push(1);
	st.push(2);
	std::cout << st.top() << std::endl;
}
void queue_test()
{

	fertilizer::queue<int,list<int>> q;

	//queue<int, vector<int>> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);

	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	cout << endl;
}
int main()
{
	stack_test();
	queue_test();

	return 0;
}